package cn.com.controler.State;

import cn.com.entity.State;

public class StateDAO {

    //添加
    public int fbgonggao(State state){
        String str = "insert into State values(null,?,?,?)";
        Object []arr = new Object[]{state.getStateAdmin(),state.getStateContent(),state.getStateTime()};
        return StateDAOTemplete.insertdata(str,arr);
    }
}
